package hmis.pos.Common.vo.Order;

import hmis.pos.Entity.Order;

import javax.persistence.MappedSuperclass;
import java.util.List;

@MappedSuperclass
public class OrderAndTypeAndNumber {

    //订单
    private Order order;

    //房型与数量
    List<TypeAndNumber> typeAndNumbersList;

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public List<TypeAndNumber> getTypeAndNumbersList() {
        return typeAndNumbersList;
    }

    public void setTypeAndNumbersList(List<TypeAndNumber> typeAndNumbersList) {
        this.typeAndNumbersList = typeAndNumbersList;
    }

    @Override
    public String toString() {
        return "OrderAndTypeAndNumber{" +
                "order=" + order +
                ", typeAndNumbersList=" + typeAndNumbersList +
                '}';
    }
}
